home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
051-075
/
disk_069
/
monproc
/
poster
< prev
Wrap
Text File
|
1992-05-06
|
2KB
|
33 lines
Article 3103 of comp.sys.amiga:
Path: mcdsun!noao!hao!nbires!seismo!rutgers!cbmvax!phillip
From: phillip@cbmvax.cbm.UUCP (Phillip Lindsay CATS)
Newsgroups: comp.sys.amiga
Subject: A program to monitor AmigaDOS packet activity.
Message-ID: <1599@cbmvax.cbmvax.cbm.UUCP>
Date: 30 Mar 87 16:24:33 GMT
Distribution: comp
Organization: Commodore Technology, West Chester, PA
Lines: 717
[yeah, bugs come and go, but COBOL insists on staying...]
In the process structure you will find a field labeled "pr_PktWait." This
is a pointer for a alternate wait routine for AmigaDOS message handling.
Everytime the AmigaDOS taskwait() routine is called a check is made to see
if the process PktWait field is non-zero...if non-zero a subroutine call is
made to that address. The requirement of the subroutine is to wait for a
message to arrive at the process port (pr_MsgPort) and to return the address
of the message (NOT PACKET!) in D0.
Anyway, what follows is a simple program that will allow you to monitor any
process for packet activity. A binary is available for the asking. (uuencoded)
BTW, When you call a AmigaDOS routine [like Read()] that talks to a
AmigaDOS handler you can monitor a process receiving packets.
-phil [ I promise this time no two signatures ]
==============================================================================
Phillip Lindsay - Commodore Business Machines - Amiga Technical Support
UUCP: {ihnp4|seismo|caip}!cbmvax!phillip - Phone: (215) 431-9180
No warranty is implied or otherwise given in the form of suggestion or
example. Any opinions found here are of my making. /* eof */
--------------ok...SA take out your blade and slice here----------------------